home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / vcfrmla1.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  35.1 KB  |  649 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'VCFrmla1.pas' rev: 3.00
  6.  
  7. #ifndef VCFrmla1HPP
  8. #define VCFrmla1HPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <OleCtrls.hpp>
  12. #include <Graphics.hpp>
  13. #include <Classes.hpp>
  14. #include <OleCtl.hpp>
  15. #include <OLE2.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Vcfrmla1
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. typedef void __fastcall (__closure *TVCFormulaOneClick)(System::TObject* Sender, int nRow, int nCol)
  25.     ;
  26.  
  27. typedef void __fastcall (__closure *TVCFormulaOneDblClick)(System::TObject* Sender, int nRow, int nCol
  28.     );
  29.  
  30. typedef void __fastcall (__closure *TVCFormulaOneStartEdit)(System::TObject* Sender, System::AnsiString 
  31.     &EditString, short &Cancel);
  32.  
  33. typedef void __fastcall (__closure *TVCFormulaOneEndEdit)(System::TObject* Sender, System::AnsiString 
  34.     &EditString, short &Cancel);
  35.  
  36. typedef void __fastcall (__closure *TVCFormulaOneObjClick)(System::TObject* Sender, System::AnsiString 
  37.     &ObjName, int ObjID);
  38.  
  39. typedef void __fastcall (__closure *TVCFormulaOneObjDblClick)(System::TObject* Sender, System::AnsiString 
  40.     &ObjName, int ObjID);
  41.  
  42. typedef void __fastcall (__closure *TVCFormulaOneRClick)(System::TObject* Sender, int nRow, int nCol
  43.     );
  44.  
  45. typedef void __fastcall (__closure *TVCFormulaOneRDblClick)(System::TObject* Sender, int nRow, int nCol
  46.     );
  47.  
  48. typedef void __fastcall (__closure *TVCFormulaOneObjValueChanged)(System::TObject* Sender, System::AnsiString 
  49.     &ObjName, int ObjID);
  50.  
  51. typedef void __fastcall (__closure *TVCFormulaOneObjGotFocus)(System::TObject* Sender, System::AnsiString 
  52.     &ObjName, int ObjID);
  53.  
  54. typedef void __fastcall (__closure *TVCFormulaOneObjLostFocus)(System::TObject* Sender, System::AnsiString 
  55.     &ObjName, int ObjID);
  56.  
  57. typedef void __fastcall (__closure *TVCFormulaOneValidationFailed)(System::TObject* Sender, System::AnsiString 
  58.     &pEntry, int nSheet, int nRow, int nCol, System::AnsiString &pShowMessage, short &pAction);
  59.  
  60. class DELPHICLASS TVCFormulaOne;
  61. class PASCALIMPLEMENTATION TVCFormulaOne : public Olectrls::TOleControl 
  62. {
  63.     typedef Olectrls::TOleControl inherited;
  64.     
  65. private:
  66.     TVCFormulaOneClick FOnClick;
  67.     TVCFormulaOneDblClick FOnDblClick;
  68.     Classes::TNotifyEvent FOnCancelEdit;
  69.     Classes::TNotifyEvent FOnSelChange;
  70.     TVCFormulaOneStartEdit FOnStartEdit;
  71.     TVCFormulaOneEndEdit FOnEndEdit;
  72.     Classes::TNotifyEvent FOnStartRecalc;
  73.     Classes::TNotifyEvent FOnEndRecalc;
  74.     Classes::TNotifyEvent FOnTopLeftChanged;
  75.     TVCFormulaOneObjClick FOnObjClick;
  76.     TVCFormulaOneObjDblClick FOnObjDblClick;
  77.     TVCFormulaOneRClick FOnRClick;
  78.     TVCFormulaOneRDblClick FOnRDblClick;
  79.     TVCFormulaOneObjValueChanged FOnObjValueChanged;
  80.     Classes::TNotifyEvent FOnModified;
  81.     TVCFormulaOneObjGotFocus FOnObjGotFocus;
  82.     TVCFormulaOneObjLostFocus FOnObjLostFocus;
  83.     TVCFormulaOneValidationFailed FOnValidationFailed;
  84.     System::AnsiString __stdcall Get_ColText(int nCol);
  85.     void __stdcall Set_ColText(int nCol, const System::AnsiString Value);
  86.     System::AnsiString __stdcall Get_DefinedName(const System::AnsiString pName);
  87.     void __stdcall Set_DefinedName(const System::AnsiString pName, const System::AnsiString Value);
  88.     System::AnsiString __stdcall Get_EntryRC(int nRow, int nCol);
  89.     void __stdcall Set_EntryRC(int nRow, int nCol, const System::AnsiString Value);
  90.     System::AnsiString __stdcall Get_FormattedTextRC(int nRow, int nCol);
  91.     void __stdcall Set_FormattedTextRC(int nRow, int nCol, const System::AnsiString Value);
  92.     System::AnsiString __stdcall Get_FormulaRC(int nRow, int nCol);
  93.     void __stdcall Set_FormulaRC(int nRow, int nCol, const System::AnsiString Value);
  94.     int __stdcall Get_LastColForRow(int nRow);
  95.     void __stdcall Set_LastColForRow(int nRow, int Value);
  96.     Word __stdcall Get_LogicalRC(int nRow, int nCol);
  97.     void __stdcall Set_LogicalRC(int nRow, int nCol, Word Value);
  98.     double __stdcall Get_NumberRC(int nRow, int nCol);
  99.     void __stdcall Set_NumberRC(int nRow, int nCol, double Value);
  100.     System::AnsiString __stdcall Get_RowText(int nRow);
  101.     void __stdcall Set_RowText(int nRow, const System::AnsiString Value);
  102.     System::AnsiString __stdcall Get_TextRC(int nRow, int nCol);
  103.     void __stdcall Set_TextRC(int nRow, int nCol, const System::AnsiString Value);
  104.     short __stdcall Get_TypeRC(int nRow, int nCol);
  105.     void __stdcall Set_TypeRC(int nRow, int nCol, short Value);
  106.     short __stdcall Get_ColWidth(int nCol);
  107.     void __stdcall Set_ColWidth(int nCol, short Value);
  108.     short __stdcall Get_RowHeight(int nRow);
  109.     void __stdcall Set_RowHeight(int nRow, short Value);
  110.     System::AnsiString __stdcall Get_DefinedNameByIndex(int nName);
  111.     void __stdcall Set_DefinedNameByIndex(int nName, const System::AnsiString Value);
  112.     System::AnsiString __stdcall Get_SheetName(int nSheet);
  113.     void __stdcall Set_SheetName(int nSheet, const System::AnsiString Value);
  114.     Graphics::TColor __stdcall Get_PaletteEntry(int nEntry);
  115.     void __stdcall Set_PaletteEntry(int nEntry, Graphics::TColor Value);
  116.     short __stdcall Get_ColWidthTwips(int Col);
  117.     void __stdcall Set_ColWidthTwips(int Col, short Value);
  118.     System::AnsiString __stdcall Get_ObjItem(int ID, short Item);
  119.     void __stdcall Set_ObjItem(int ID, short Item, const System::AnsiString Value);
  120.     System::AnsiString __stdcall Get_ObjItems(int ID);
  121.     void __stdcall Set_ObjItems(int ID, const System::AnsiString Value);
  122.     System::AnsiString __stdcall Get_ObjName(int ID);
  123.     void __stdcall Set_ObjName(int ID, const System::AnsiString Value);
  124.     System::AnsiString __stdcall Get_ObjText(int ID);
  125.     void __stdcall Set_ObjText(int ID, const System::AnsiString Value);
  126.     short __stdcall Get_ObjValue(int ID);
  127.     void __stdcall Set_ObjValue(int ID, short Value);
  128.     Word __stdcall Get_ObjVisible(int ID);
  129.     void __stdcall Set_ObjVisible(int ID, Word Value);
  130.     System::AnsiString __stdcall Get_AutoFillItems(short Index);
  131.     void __stdcall Set_AutoFillItems(short Index, const System::AnsiString Value);
  132.     Word __stdcall Get_ColHidden(int nCol);
  133.     void __stdcall Set_ColHidden(int nCol, Word Value);
  134.     Word __stdcall Get_RowHidden(int nRow);
  135.     void __stdcall Set_RowHidden(int nRow, Word Value);
  136.     Word __stdcall Get_SheetSelected(int nSheet);
  137.     void __stdcall Set_SheetSelected(int nSheet, Word Value);
  138.     
  139. protected:
  140.     virtual void __fastcall InitControlData(void);
  141.     
  142. public:
  143.     void __stdcall EditPasteValues(void);
  144.     void __stdcall GetAlignment(short &pHorizontal, Word &pWordWrap, short &pVertical, short &pOrientation
  145.         );
  146.     HIDESBASE void __stdcall GetBorder(short &pLeft, short &pRight, short &pTop, short &pBottom, short 
  147.         &pShade, Graphics::TColor &pcrLeft, Graphics::TColor &pcrRight, Graphics::TColor &pcrTop, Graphics::TColor 
  148.         &pcrBottom);
  149.     void __stdcall GetFont(System::AnsiString &pName, short &pSize, Word &pBold, Word &pItalic, Word &pUnderline
  150.         , Word &pStrikeout, Graphics::TColor &pcrColor, Word &pOutline, Word &pShadow);
  151.     void __stdcall GetLineStyle(short &pStyle, Graphics::TColor &pcrColor, short &pWeight);
  152.     void __stdcall GetPattern(short &pPattern, Graphics::TColor &pcrFG, Graphics::TColor &pcrBG);
  153.     void __stdcall GetProtection(Word &pLocked, Word &pHidden);
  154.     void __stdcall GetTabbedText(int nR1, int nC1, int nR2, int nC2, Word bValuesOnly, int &phText);
  155.     void __stdcall SetTabbedText(int nStartRow, int nStartCol, int &pRows, int &pCols, Word bValuesOnly
  156.         , const System::AnsiString pText);
  157.     void __stdcall AddColPageBreak(int nCol);
  158.     void __stdcall AddPageBreak(void);
  159.     void __stdcall AddRowPageBreak(int nRow);
  160.     void __stdcall AddSelection(int nR1, int nC1, int nR2, int nC2);
  161.     void __stdcall Attach(const System::AnsiString pTitle);
  162.     void __stdcall AttachToSS(int hSrcSS);
  163.     void __stdcall CalculationDlg(void);
  164.     void __stdcall CancelEdit(void);
  165.     void __stdcall CheckRecalc(void);
  166.     void __stdcall ClearClipboard(void);
  167.     void __stdcall ClearRange(int nR1, int nC1, int nR2, int nC2, short ClearType);
  168.     void __stdcall ColorPaletteDlg(void);
  169.     void __stdcall ColWidthDlg(void);
  170.     void __stdcall CopyAll(int hSrcSS);
  171.     void __stdcall CopyRange(int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS, int nSrcR1, int 
  172.         nSrcC1, int nSrcR2, int nSrcC2);
  173.     void __stdcall DefinedNameDlg(void);
  174.     void __stdcall DeleteDefinedName(const System::AnsiString pName);
  175.     void __stdcall DeleteRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
  176.     void __stdcall Draw(int hDC, int x, int y, int cx, int cy, int nRow, int nCol, int &pRows, int &pCols
  177.         , int nFixedRow, int nFixedCol, int nFixedRows, int nFixedCols);
  178.     void __stdcall EditClear(short ClearType);
  179.     void __stdcall EditCopy(void);
  180.     void __stdcall EditCopyDown(void);
  181.     void __stdcall EditCopyRight(void);
  182.     void __stdcall EditCut(void);
  183.     void __stdcall EditDelete(short ShiftType);
  184.     void __stdcall EditInsert(short ShiftType);
  185.     void __stdcall EditPaste(void);
  186.     void __stdcall EndEdit(void);
  187.     void __stdcall FilePageSetupDlg(void);
  188.     void __stdcall FilePrint(Word bShowPrintDlg);
  189.     void __stdcall FilePrintSetupDlg(void);
  190.     void __stdcall FormatAlignmentDlg(void);
  191.     void __stdcall FormatBorderDlg(void);
  192.     void __stdcall FormatCurrency0(void);
  193.     void __stdcall FormatCurrency2(void);
  194.     void __stdcall FormatDefaultFontDlg(void);
  195.     void __stdcall FormatFixed(void);
  196.     void __stdcall FormatFixed2(void);
  197.     void __stdcall FormatFontDlg(void);
  198.     void __stdcall FormatFraction(void);
  199.     void __stdcall FormatGeneral(void);
  200.     void __stdcall FormatHmmampm(void);
  201.     void __stdcall FormatMdyy(void);
  202.     void __stdcall FormatNumberDlg(void);
  203.     void __stdcall FormatPatternDlg(void);
  204.     void __stdcall FormatPercent(void);
  205.     void __stdcall FormatScientific(void);
  206.     void __stdcall GetActiveCell(int &pRow, int &pCol);
  207.     void __stdcall GetDefaultFont(System::AnsiString &pBuf, short &pSize);
  208.     void __stdcall GetHdrSelection(Word &pTopLeftHdr, Word &pRowHdr, Word &pColHdr);
  209.     void __stdcall GetIteration(Word &pIteration, short &pMaxIterations, double &pMaxChange);
  210.     void __stdcall GetPrintScale(short &pScale, Word &pFitToPage, int &pVPages, int &pHPages);
  211.     void __stdcall GetSelection(short nSelection, int &pR1, int &pC1, int &pR2, int &pC2);
  212.     void __stdcall GotoDlg(void);
  213.     void __stdcall HeapMin(void);
  214.     void __stdcall InitTable(void);
  215.     void __stdcall InsertRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
  216.     void __stdcall LineStyleDlg(void);
  217.     void __stdcall MoveRange(int nR1, int nC1, int nR2, int nC2, int nRowOffset, int nColOffset);
  218.     void __stdcall ObjAddItem(int ID, const System::AnsiString pItem);
  219.     void __stdcall ObjAddSelection(int ID);
  220.     void __stdcall ObjBringToFront(void);
  221.     void __stdcall ObjDeleteItem(int ID, short nItem);
  222.     void __stdcall ObjGetCell(int ID, short &pControlCellType, int &pRow, int &pCol);
  223.     void __stdcall ObjGetPos(int ID, float &pX1, float &pY1, float &pX2, float &pY2);
  224.     void __stdcall ObjGetSelection(short nSelection, int &pID);
  225.     void __stdcall ObjInsertItem(int ID, short nItem, const System::AnsiString pItem);
  226.     void __stdcall ObjNameDlg(void);
  227.     void __stdcall ObjNew(short ObjType, float nX1, float nY1, float nX2, float nY2, int &pID);
  228.     void __stdcall ObjNewPicture(float nX1, float nY1, float nX2, float nY2, int &pID, int hMF, int nMapMode
  229.         , int nWndExtentX, int nWndExtentY);
  230.     void __stdcall ObjOptionsDlg(void);
  231.     void __stdcall ObjPosToTwips(float nX1, float nY1, float nX2, float nY2, int &pX, int &pY, int &pCX
  232.         , int &pCY, short &pShown);
  233.     void __stdcall ObjSendToBack(void);
  234.     void __stdcall ObjSetCell(int ID, short ControlCellType, int nRow, int nCol);
  235.     void __stdcall ObjSetPicture(int ID, int hMF, short nMapMode, int nWndExtentX, int nWndExtentY);
  236.     void __stdcall ObjSetPos(int ID, float nX1, float nY1, float nX2, float nY2);
  237.     void __stdcall ObjSetSelection(int ID);
  238.     void __stdcall OpenFileDlg(const System::AnsiString pTitle, int hWndParent, System::AnsiString &pBuf
  239.         );
  240.     void __stdcall ProtectionDlg(void);
  241.     void __stdcall RangeToTwips(int nRow1, int nCol1, int nRow2, int nCol2, int &pX, int &pY, int &pCX, 
  242.         int &pCY, short &pShown);
  243.     void __stdcall Read(const System::AnsiString pPathName, short &pFileType);
  244.     void __stdcall ReadFromBlob(int hBlob, short nReservedBytes);
  245.     void __stdcall Recalc(void);
  246.     void __stdcall RemoveColPageBreak(int nCol);
  247.     void __stdcall RemovePageBreak(void);
  248.     void __stdcall RemoveRowPageBreak(int nRow);
  249.     void __stdcall RowHeightDlg(void);
  250.     void __stdcall SaveFileDlg(const System::AnsiString pTitle, System::AnsiString &pBuf, short &pFileType
  251.         );
  252.     void __stdcall SaveWindowInfo(void);
  253.     void __stdcall SetActiveCell(int nRow, int nCol);
  254.     void __stdcall SetAlignment(short HAlign, Word bWordWrap, short VAlign, short nOrientation);
  255.     void __stdcall SetBorder(short nOutline, short nLeft, short nRight, short nTop, short nBottom, short 
  256.         nShade, Graphics::TColor crOutline, Graphics::TColor crLeft, Graphics::TColor crRight, Graphics::TColor 
  257.         crTop, Graphics::TColor crBottom);
  258.     void __stdcall SetColWidth(int nC1, int nC2, short nWidth, Word bDefColWidth);
  259.     void __stdcall SetColWidthAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
  260.     void __stdcall SetDefaultFont(const System::AnsiString pName, short nSize);
  261.     HIDESBASE void __stdcall SetFont(const System::AnsiString pName, short nSize, Word bBold, Word bItalic
  262.         , Word bUnderline, Word bStrikeout, Graphics::TColor crColor, Word bOutline, Word bShadow);
  263.     void __stdcall SetHdrSelection(Word bTopLeftHdr, Word bRowHdr, Word bColHdr);
  264.     void __stdcall SetIteration(Word bIteration, short nMaxIterations, double nMaxChange);
  265.     void __stdcall SetLineStyle(short nStyle, Graphics::TColor crColor, short nWeight);
  266.     void __stdcall SetPattern(short nPattern, Graphics::TColor crFG, Graphics::TColor crBG);
  267.     void __stdcall SetPrintAreaFromSelection(void);
  268.     void __stdcall SetPrintScale(short nScale, Word bFitToPage, short nVPages, short nHPages);
  269.     void __stdcall SetPrintTitlesFromSelection(void);
  270.     void __stdcall SetProtection(Word bLocked, Word bHidden);
  271.     void __stdcall SetRowHeight(int nR1, int nR2, short nHeight, Word bDefRowHeight);
  272.     void __stdcall SetRowHeightAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
  273.     void __stdcall SetSelection(int nR1, int nC1, int nR2, int nC2);
  274.     void __stdcall ShowActiveCell(void);
  275.     void __stdcall Sort3(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, int nKey1, int nKey2, int 
  276.         nKey3);
  277.     void __stdcall SortDlg(void);
  278.     void __stdcall StartEdit(Word bClear, Word bInCellEditFocus, Word bArrowsExitEditMode);
  279.     void __stdcall SwapTables(int hSS2);
  280.     void __stdcall TransactCommit(void);
  281.     void __stdcall TransactRollback(void);
  282.     void __stdcall TransactStart(void);
  283.     void __stdcall TwipsToRC(int x, int y, int &pRow, int &pCol);
  284.     void __stdcall SSUpdate(void);
  285.     short __stdcall SSVersion(void);
  286.     void __stdcall Write(const System::AnsiString pPathName, short FileType);
  287.     void __stdcall WriteToBlob(int &phBlob, short nReservedBytes);
  288.     void __stdcall SetRowHidden(int nRow1, int nRow2, Word bHidden);
  289.     void __stdcall SetColHidden(int nCol1, int nCol2, Word bHidden);
  290.     void __stdcall SetColWidthTwips(int nCol1, int nCol2, int nWidth, Word bDefColWidth);
  291.     void __stdcall EditInsertSheets(void);
  292.     void __stdcall EditDeleteSheets(void);
  293.     void __stdcall InsertSheets(int nSheet, int nSheets);
  294.     void __stdcall DeleteSheets(int nSheet, int nSheets);
  295.     HIDESBASE void __stdcall Refresh(void);
  296.     int __stdcall NextColPageBreak(int Col);
  297.     int __stdcall NextRowPageBreak(int Row);
  298.     int __stdcall ObjFirstID(void);
  299.     int __stdcall ObjNextID(int ID);
  300.     short __stdcall ObjGetItemCount(int ID);
  301.     short __stdcall ObjGetType(int ID);
  302.     short __stdcall ObjGetSelectionCount(void);
  303.     System::AnsiString __stdcall FormatRCNr(int Row, int Col, Word DoAbsolute);
  304.     int __stdcall SS(void);
  305.     System::AnsiString __stdcall ErrorNumberToText(int SSError);
  306.     int __stdcall ObjNameToID(const System::AnsiString Name);
  307.     int __stdcall DefinedNameCount(void);
  308.     void __stdcall ValidationRuleDlg(void);
  309.     void __stdcall SetValidationRule(const System::AnsiString Rule, const System::AnsiString Text);
  310.     void __stdcall GetValidationRule(System::AnsiString &Rule, System::AnsiString &Text);
  311.     short __stdcall AutoFillItemsCount(void);
  312.     void __stdcall CopyRangeEx(int nDstSheet, int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS
  313.         , int nSrcSheet, int nSrcR1, int nSrcC1, int nSrcR2, int nSrcC2);
  314.     void __stdcall Sort(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, const System::Variant Keys
  315.         );
  316.     void __stdcall DeleteAutoFillItems(short nIndex);
  317.     void __stdcall ODBCConnect(System::AnsiString &pConnect, Word bShowErrors, short &pRetCode);
  318.     void __stdcall ODBCDisconnect(void);
  319.     void __stdcall ODBCQuery(System::AnsiString &pQuery, int nRow, int nCol, Word bForceShowDlg, Word &
  320.         pSetColNames, Word &pSetColFormats, Word &pSetColWidths, Word &pSetMaxRC, short &pRetCode);
  321.     void __stdcall LaunchDesigner(void);
  322.     void __stdcall AboutBox(void);
  323.     __property System::AnsiString ColText[int nCol] = {read=Get_ColText, write=Set_ColText};
  324.     __property System::AnsiString DefinedName[System::AnsiString pName] = {read=Get_DefinedName, write=
  325.         Set_DefinedName};
  326.     __property System::AnsiString EntryRC[int nRow][int nCol] = {read=Get_EntryRC, write=Set_EntryRC};
  327.     __property System::AnsiString FormattedTextRC[int nRow][int nCol] = {read=Get_FormattedTextRC, write=
  328.         Set_FormattedTextRC};
  329.     __property System::AnsiString FormulaRC[int nRow][int nCol] = {read=Get_FormulaRC, write=Set_FormulaRC
  330.         };
  331.     __property int LastColForRow[int nRow] = {read=Get_LastColForRow, write=Set_LastColForRow};
  332.     __property Word LogicalRC[int nRow][int nCol] = {read=Get_LogicalRC, write=Set_LogicalRC};
  333.     __property double NumberRC[int nRow][int nCol] = {read=Get_NumberRC, write=Set_NumberRC};
  334.     __property System::AnsiString RowText[int nRow] = {read=Get_RowText, write=Set_RowText};
  335.     __property System::AnsiString TextRC[int nRow][int nCol] = {read=Get_TextRC, write=Set_TextRC};
  336.     __property short TypeRC[int nRow][int nCol] = {read=Get_TypeRC, write=Set_TypeRC};
  337.     __property short ColWidth[int nCol] = {read=Get_ColWidth, write=Set_ColWidth};
  338.     __property short RowHeight[int nRow] = {read=Get_RowHeight, write=Set_RowHeight};
  339.     __property System::AnsiString DefinedNameByIndex[int nName] = {read=Get_DefinedNameByIndex, write=Set_DefinedNameByIndex
  340.         };
  341.     __property System::AnsiString SheetName[int nSheet] = {read=Get_SheetName, write=Set_SheetName};
  342.     __property Graphics::TColor PaletteEntry[int nEntry] = {read=Get_PaletteEntry, write=Set_PaletteEntry
  343.         };
  344.     __property short ColWidthTwips[int Col] = {read=Get_ColWidthTwips, write=Set_ColWidthTwips};
  345.     __property System::AnsiString ObjItem[int ID][short Item] = {read=Get_ObjItem, write=Set_ObjItem};
  346.     __property System::AnsiString ObjItems[int ID] = {read=Get_ObjItems, write=Set_ObjItems};
  347.     __property System::AnsiString ObjName[int ID] = {read=Get_ObjName, write=Set_ObjName};
  348.     __property System::AnsiString ObjText[int ID] = {read=Get_ObjText, write=Set_ObjText};
  349.     __property short ObjValue[int ID] = {read=Get_ObjValue, write=Set_ObjValue};
  350.     __property Word ObjVisible[int ID] = {read=Get_ObjVisible, write=Set_ObjVisible};
  351.     __property System::AnsiString AutoFillItems[short Index] = {read=Get_AutoFillItems, write=Set_AutoFillItems
  352.         };
  353.     __property Word ColHidden[int nCol] = {read=Get_ColHidden, write=Set_ColHidden};
  354.     __property Word RowHidden[int nRow] = {read=Get_RowHidden, write=Set_RowHidden};
  355.     __property Word SheetSelected[int nSheet] = {read=Get_SheetSelected, write=Set_SheetSelected};
  356.     
  357. __published:
  358.     __property TabStop ;
  359.     __property DragCursor ;
  360.     __property DragMode ;
  361.     __property ParentShowHint ;
  362.     __property PopupMenu ;
  363.     __property ShowHint ;
  364.     __property TabOrder ;
  365.     __property Visible ;
  366.     __property OnDragDrop ;
  367.     __property OnDragOver ;
  368.     __property OnEndDrag ;
  369.     __property OnEnter ;
  370.     __property OnExit ;
  371.     __property OnStartDrag ;
  372.     __property OnKeyDown ;
  373.     __property OnKeyPress ;
  374.     __property OnKeyUp ;
  375.     __property OnMouseDown ;
  376.     __property OnMouseMove ;
  377.     __property OnMouseUp ;
  378.     __property Graphics::TColor BackColor = {read=GetColorProp, write=SetColorProp, stored=false, index=3
  379.         , nodefault};
  380.     __property int Col = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4, nodefault};
  381.         
  382.     __property int Row = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, nodefault};
  383.         
  384.     __property short ShowHScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=6
  385.         , nodefault};
  386.     __property System::AnsiString Text = {read=GetStringProp, write=SetStringProp, stored=false, index=7
  387.         };
  388.     __property double Number = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=8};
  389.     __property System::AnsiString Formula = {read=GetStringProp, write=SetStringProp, stored=false, index=9
  390.         };
  391.     __property int FixedCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10, nodefault
  392.         };
  393.     __property int FixedCols = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11, nodefault
  394.         };
  395.     __property int FixedRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12, nodefault
  396.         };
  397.     __property int FixedRows = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13, nodefault
  398.         };
  399.     __property Word ShowGridLines = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=14, 
  400.         nodefault};
  401.     __property Word ShowRowHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=15
  402.         , nodefault};
  403.     __property short ShowSelections = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
  404.         , nodefault};
  405.     __property int LeftCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17, nodefault
  406.         };
  407.     __property int MaxCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18, nodefault
  408.         };
  409.     __property int MaxRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19, nodefault
  410.         };
  411.     __property int TopRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20, nodefault
  412.         };
  413.     __property Word AllowResize = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=21, nodefault
  414.         };
  415.     __property Word AllowSelections = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=22
  416.         , nodefault};
  417.     __property Word AllowFormulas = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=23, 
  418.         nodefault};
  419.     __property Word AllowInCellEditing = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=24
  420.         , nodefault};
  421.     __property short ShowVScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=25
  422.         , nodefault};
  423.     __property Word AllowFillRange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=26
  424.         , nodefault};
  425.     __property Word AllowMoveRange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=27
  426.         , nodefault};
  427.     __property int SelStartCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28, nodefault
  428.         };
  429.     __property int SelStartRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29, nodefault
  430.         };
  431.     __property int SelEndCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30, nodefault
  432.         };
  433.     __property int SelEndRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31, nodefault
  434.         };
  435.     __property Graphics::TColor ExtraColor = {read=GetColorProp, write=SetColorProp, stored=false, index=32
  436.         , nodefault};
  437.     __property System::AnsiString FileName = {read=GetStringProp, write=SetStringProp, stored=false, index=33
  438.         };
  439.     __property Word AutoRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=34, nodefault
  440.         };
  441.     __property Word PrintGridLines = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=35
  442.         , nodefault};
  443.     __property Word PrintRowHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=36
  444.         , nodefault};
  445.     __property Word PrintHCenter = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=37, 
  446.         nodefault};
  447.     __property Word PrintVCenter = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=38, 
  448.         nodefault};
  449.     __property Word PrintLeftToRight = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=39
  450.         , nodefault};
  451.     __property System::AnsiString PrintHeader = {read=GetStringProp, write=SetStringProp, stored=false, 
  452.         index=40};
  453.     __property System::AnsiString PrintFooter = {read=GetStringProp, write=SetStringProp, stored=false, 
  454.         index=41};
  455.     __property double PrintLeftMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=42
  456.         };
  457.     __property double PrintTopMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=43
  458.         };
  459.     __property double PrintRightMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=44
  460.         };
  461.     __property double PrintBottomMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=45
  462.         };
  463.     __property System::AnsiString PrintArea = {read=GetStringProp, write=SetStringProp, stored=false, index=46
  464.         };
  465.     __property System::AnsiString PrintTitles = {read=GetStringProp, write=SetStringProp, stored=false, 
  466.         index=47};
  467.     __property Word PrintNoColor = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=48, 
  468.         nodefault};
  469.     __property System::AnsiString Selection = {read=GetStringProp, write=SetStringProp, stored=false, index=49
  470.         };
  471.     __property System::AnsiString TableName = {read=GetStringProp, write=SetStringProp, stored=false, index=50
  472.         };
  473.     __property Word DoCancelEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=51, 
  474.         nodefault};
  475.     __property Word DoSelChange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=52, nodefault
  476.         };
  477.     __property Word DoStartEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=53, nodefault
  478.         };
  479.     __property Word DoEndEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=54, nodefault
  480.         };
  481.     __property Word DoStartRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=55, 
  482.         nodefault};
  483.     __property Word DoEndRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=56, nodefault
  484.         };
  485.     __property Word DoClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=57, nodefault
  486.         };
  487.     __property Word DoDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=58, nodefault
  488.         };
  489.     __property Word ShowColHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=59
  490.         , nodefault};
  491.     __property Word PrintColHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=60
  492.         , nodefault};
  493.     __property System::AnsiString Entry = {read=GetStringProp, write=SetStringProp, stored=false, index=61
  494.         };
  495.     __property Word Repaint = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=62, nodefault
  496.         };
  497.     __property Word AllowArrows = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=63, nodefault
  498.         };
  499.     __property Word AllowTabs = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=64, nodefault
  500.         };
  501.     __property System::AnsiString FormattedText = {read=GetStringProp, write=SetStringProp, stored=false
  502.         , index=65};
  503.     __property Word RowMode = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=66, nodefault
  504.         };
  505.     __property Word AllowDelete = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=67, nodefault
  506.         };
  507.     __property Word EnableProtection = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=68
  508.         , nodefault};
  509.     __property int MinCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=69, nodefault
  510.         };
  511.     __property int MinRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=70, nodefault
  512.         };
  513.     __property Word DoTopLeftChanged = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=71
  514.         , nodefault};
  515.     __property Word AllowEditHeaders = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=72
  516.         , nodefault};
  517.     __property Word DoObjClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=73, nodefault
  518.         };
  519.     __property Word DoObjDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=74, 
  520.         nodefault};
  521.     __property Word AllowObjSelections = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=75
  522.         , nodefault};
  523.     __property Word DoRClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=76, nodefault
  524.         };
  525.     __property Word DoRDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=77, nodefault
  526.         };
  527.     __property System::AnsiString Clip = {read=GetStringProp, write=SetStringProp, stored=false, index=78
  528.         };
  529.     __property System::AnsiString ClipValues = {read=GetStringProp, write=SetStringProp, stored=false, 
  530.         index=79};
  531.     __property Word PrintLandscape = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=80
  532.         , nodefault};
  533.     __property Word Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514, nodefault
  534.         };
  535.     __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
  536.         , nodefault};
  537.     __property System::AnsiString AppName = {read=GetStringProp, write=SetStringProp, stored=false, index=81
  538.         };
  539.     __property short HdrHeight = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=82, 
  540.         nodefault};
  541.     __property short HdrWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=83, nodefault
  542.         };
  543.     __property System::AnsiString NumberFormat = {read=GetStringProp, write=SetStringProp, stored=false
  544.         , index=84};
  545.     __property System::AnsiString TopLeftText = {read=GetStringProp, write=SetStringProp, stored=false, 
  546.         index=85};
  547.     __property Word EnterMovesDown = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=86
  548.         , nodefault};
  549.     __property int LastCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=87, nodefault
  550.         };
  551.     __property int LastRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=88, nodefault
  552.         };
  553.     __property Word Logical = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=89, nodefault
  554.         };
  555.     __property short Mode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=90, nodefault
  556.         };
  557.     __property short PolyEditMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=91
  558.         , nodefault};
  559.     __property short ViewScale = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=92, 
  560.         nodefault};
  561.     __property short SelectionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=93
  562.         , nodefault};
  563.     __property System::AnsiString Title = {read=GetStringProp, write=SetStringProp, stored=false, index=94
  564.         };
  565.     __property short Type_ = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=95, nodefault
  566.         };
  567.     __property Word ShowFormulas = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=96, 
  568.         nodefault};
  569.     __property Word ShowZeroValues = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=97
  570.         , nodefault};
  571.     __property short MousePointer = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2
  572.         , nodefault};
  573.     __property System::Variant MouseIcon = {read=GetVariantProp, write=SetVariantProp, stored=false, index=98
  574.         };
  575.     __property Word DoObjValueChanged = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=99
  576.         , nodefault};
  577.     __property Word ScrollToLastRC = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=100
  578.         , nodefault};
  579.     __property Word Modified = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=101, nodefault
  580.         };
  581.     __property Word DoObjGotFocus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=102
  582.         , nodefault};
  583.     __property Word DoObjLostFocus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=103
  584.         , nodefault};
  585.     __property int PrintDevMode = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=104, 
  586.         nodefault};
  587.     __property int NumSheets = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=105, nodefault
  588.         };
  589.     __property int Sheet = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=106, nodefault
  590.         };
  591.     __property short ColWidthUnits = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=107
  592.         , nodefault};
  593.     __property Word ShowTypeMarkers = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=108
  594.         , nodefault};
  595.     __property short ShowTabs = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=109, 
  596.         nodefault};
  597.     __property Word ShowEditBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=110, 
  598.         nodefault};
  599.     __property Word ShowEditBarCellRef = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=111
  600.         , nodefault};
  601.     __property Word AllowDesigner = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=1, 
  602.         nodefault};
  603.     __property int hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515, nodefault
  604.         };
  605.     __property Word AllowAutoFill = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=112
  606.         , nodefault};
  607.     __property TVCFormulaOneClick OnClick = {read=FOnClick, write=FOnClick};
  608.     __property TVCFormulaOneDblClick OnDblClick = {read=FOnDblClick, write=FOnDblClick};
  609.     __property Classes::TNotifyEvent OnCancelEdit = {read=FOnCancelEdit, write=FOnCancelEdit};
  610.     __property Classes::TNotifyEvent OnSelChange = {read=FOnSelChange, write=FOnSelChange};
  611.     __property TVCFormulaOneStartEdit OnStartEdit = {read=FOnStartEdit, write=FOnStartEdit};
  612.     __property TVCFormulaOneEndEdit OnEndEdit = {read=FOnEndEdit, write=FOnEndEdit};
  613.     __property Classes::TNotifyEvent OnStartRecalc = {read=FOnStartRecalc, write=FOnStartRecalc};
  614.     __property Classes::TNotifyEvent OnEndRecalc = {read=FOnEndRecalc, write=FOnEndRecalc};
  615.     __property Classes::TNotifyEvent OnTopLeftChanged = {read=FOnTopLeftChanged, write=FOnTopLeftChanged
  616.         };
  617.     __property TVCFormulaOneObjClick OnObjClick = {read=FOnObjClick, write=FOnObjClick};
  618.     __property TVCFormulaOneObjDblClick OnObjDblClick = {read=FOnObjDblClick, write=FOnObjDblClick};
  619.     __property TVCFormulaOneRClick OnRClick = {read=FOnRClick, write=FOnRClick};
  620.     __property TVCFormulaOneRDblClick OnRDblClick = {read=FOnRDblClick, write=FOnRDblClick};
  621.     __property TVCFormulaOneObjValueChanged OnObjValueChanged = {read=FOnObjValueChanged, write=FOnObjValueChanged
  622.         };
  623.     __property Classes::TNotifyEvent OnModified = {read=FOnModified, write=FOnModified};
  624.     __property TVCFormulaOneObjGotFocus OnObjGotFocus = {read=FOnObjGotFocus, write=FOnObjGotFocus};
  625.     __property TVCFormulaOneObjLostFocus OnObjLostFocus = {read=FOnObjLostFocus, write=FOnObjLostFocus}
  626.         ;
  627.     __property TVCFormulaOneValidationFailed OnValidationFailed = {read=FOnValidationFailed, write=FOnValidationFailed
  628.         };
  629. public:
  630.     /* TOleControl.Create */ __fastcall virtual TVCFormulaOne(Classes::TComponent* AOwner) : Olectrls::
  631.         TOleControl(AOwner) { }
  632.     /* TOleControl.Destroy */ __fastcall virtual ~TVCFormulaOne(void) { }
  633.     
  634. public:
  635.     /* TWinControl.CreateParented */ __fastcall TVCFormulaOne(HWND ParentWindow) : Olectrls::TOleControl(
  636.         ParentWindow) { }
  637.     
  638. };
  639.  
  640. //-- var, const, procedure ---------------------------------------------------
  641. extern PACKAGE void __fastcall Register(void);
  642.  
  643. }    /* namespace Vcfrmla1 */
  644. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  645. using namespace Vcfrmla1;
  646. #endif
  647. //-- end unit ----------------------------------------------------------------
  648. #endif    // VCFrmla1
  649.